package name.luojun.DBhelper.ORM.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface Column {
	public abstract String name() default "";
	public abstract String comment() default "";
	public abstract String sqlType() default "";
	public abstract boolean unique() default false;
	public abstract boolean nullable() default true;
	public abstract boolean insertable() default true;
	public abstract boolean updatable() default true;
	public abstract String columnDefinition() default "";
	public abstract String table() default "";
	public abstract int length() default 0;
	public abstract int precision() default 0;
	public abstract int scale() default 0;
}
